package cn.tedu.restaurant.mapper;

import cn.tedu.restaurant.entity.Order;
import cn.tedu.restaurant.vo.OrderVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author JachinLin
 * @since 2020-10-05
 */
public interface OrderMapper extends BaseMapper<Order> {
    List<Order> selectAllOrders(Integer uid);
    Integer getCount();

    List<OrderVo> selectNOrder(Integer uid);
}
